package com.ysd.lis.entity.qi;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

/**
 * <p>
 * 指标项目条件表
 * </p>
 *
 * @author prs
 * @since 2024-07-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("QI_INDEX_SQL_DATA_COLLECT")
public class QiIndexSqlDataCollect extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 指标id
     */
    @TableField("INDEX_ID")
    private String indexId;

    /**
     * 指标报表编码
     */
    @TableField("INDEX_CODE")
    private String indexCode;

    /**
     * 项目id
     */
    @TableField("ITEM_ID")
    private String itemId;

    /**
     * 项目编码
     */
    @TableField("ITEM_CODE")
    private String itemCode;

    /**
     * 专业id
     */
    @TableField("MAJOR_ID")
    private String majorId;

    /**
     * 专业编码
     */
    @TableField("MAJOR_CODE")
    private String majorCode;

    /**
     * 数据来源
     */
    @TableField("DATA_SOURCE")
    private String dataSource;

    @TableField("OPERATE_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Timestamp operateDate;

    @TableField("QUANTITY")
    private Integer quantity;

    @TableField(exist = false)
    private Boolean isJob;

    @TableField(exist = false)
    private String executeTime;


}
